#include <iostream>
#include <vector>
#include "ExportFile.h"


using namespace std;


void main( int argv, char* agv[] )
{
	char* spriteList = agv[1];
	//char* spriteList = "sprite.list";
	if ( ExportFile::getInstant()->spriteListSuccess ( spriteList ) )
	{
		cout << endl << "-------------EXPORT PLIST FILE-------------------" ;
		ExportFile::getInstant()->exportPlistFile( spriteList ); //move  into plistListSpriteDefine() function
		cout << endl << "-------------EXPORT SPRITE DEFINE-------------------" ;
		ExportFile::getInstant()->exportSpriteDefine( spriteList );
		cout << endl << "-------------EXPORT SPRITE DONE-------------------" ;
	}
	cout <<endl;
	//system ( "pause" );
}